package xyz.bali16.module.chat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class ChatUserMessage implements Serializable {

    private static final long serialVersionUID = 7818089180225592599L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 发送ID
     */
    private String fromId;

    /**
     * 接收ID
     */
    private String toId;

    /**
     * 内容
     */
    private String content;

    /**
     * 是否已读[0:未读，1:已读]
     */
    private Boolean messageStatus;

    /**
     * 创建时间
     */
    private String gmtCreated;


}
